package practice03;

/**
 * @author Administrator
 * @version V1.0
 * @ProjectName:IntelliJ IDEA
 * @PackageName: practice03
 * @ClassName: TestPlay
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @date 2019/12/8 14:23
 * @Copyright 大牛版板所有
 */
public class TestPlay {
    public static void main(String[] args) {
        Piano piano = new Piano("钢琴",10000);
        piano.play();

        Violin viol = new Violin("小提琴",500);
        viol.play();
    }
}
